import Cookies from 'js-cookie'
const TokenKey = 'Admin-Token'

export const setToken = (token: string) => Cookies.set('token', token)
export const getToken = () => Cookies.get('token')
export function removeToken() { return Cookies.remove(TokenKey) }